package com.dqhl.community.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import com.dqhl.community.R;
import com.dqhl.community.base.BaseActivity;

/**
 * Created by Administrator on 2016/8/30.
 */
public class NoarriveActivity extends BaseActivity implements View.OnClickListener{
    private ImageView ivTopBack;
    private TextView tvTopTitle;
    private Button btn2;
    private Button btn3;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_noarrive);
        initView();
    }

    private void initView() {
        ivTopBack = (ImageView) findViewById(R.id.iv_top_back);
        ivTopBack.setVisibility(View.VISIBLE);
        tvTopTitle = (TextView) findViewById(R.id.tv_top_title);
        /*btn2=(Button) findViewById(R.id.arrive);
        btn3=(Button) findViewById(R.id.evaluate);*/
        tvTopTitle.setText(R.string.txt_order);

        ivTopBack.setOnClickListener(this);
        btn2.setOnClickListener(this);
        btn3.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.iv_top_back:
                finish();
                break;
           /* case R.id.arrive:
                Intent intent = new Intent(this,OrderActivity.class);
                startActivity(intent);
            case R.id.evaluate:
               Intent intent2 = new Intent(this,EvaluateActivity.class);
                startActivity(intent2);
*/

        }
    }
}
